package com.wtwd.device.service;


import com.wtwd.device.model.entity.UpgradeFile;
import com.wtwd.device.model.entity.UpgradeVo;

import java.util.List;

/**
 * @author ljiong
 * @date 2021/08/12
 * @description
 */
public interface AppUpgradeService {
    UpgradeFile getLatestUpgradeByWatchId(String watchId);

    List<UpgradeVo> getDeviceUpgradeListByWatchId(String watchId, String language);


    UpgradeFile getUpgradeById(Integer id);

    Integer updateUpgradeFile(UpgradeFile upgradeFile);

    UpgradeFile getUpGradeByWatchIdAndVersion(String watchId, String version);
}
